// 上传附件
.gc_upload_image {
  padding: 24px;
  .gc_file_list {
    display: inline;
    vertical-align: top;
    padding: 0;
    margin: 0;
    .gc_item {
      overflow: hidden;
      background-color: #fff;
      border: 1px solid #c0ccda;
      border-radius: 6px;
      box-sizing: border-box;
      width: 148px;
      height: 148px;
      margin: 0 8px 8px 0;
      display: inline-block;
      position: relative;
      img {
        position: absolute;
        &.gc_item_horizontal {
          height: 100%;
          top: 0;
        }
        &.gc_item_vertical {
          width: 100%;
          left: 0;
        }
      }
      .gc_item_action {
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        cursor: default;
        text-align: center;
        color: #fff;
        opacity: 0;
        font-size: 20px;
        background-color: rgba(0, 0, 0, .5);
        transition: opacity .3s;
        &:hover {
          opacity: 1;
        }
        .gc_preview, .gc_delete {
          display: inline-block;
          cursor: pointer;
          font-size: 1.2em;
          margin: 36% 10px 0;
          &:hover {
            color: #6cc0e2;
          }
        }
      }
    }
  }
  .gc_upload_btn {
    background-color: #fbfdff;
    border: 1px dashed #c0ccda;
    border-radius: 6px;
    box-sizing: border-box;
    width: 148px;
    height: 148px;
    cursor: pointer;
    line-height: 146px;
    vertical-align: top;
    display: inline-block;
    text-align: center;
    .gc_upload_icon {
      font-size: 3.2em;
      color: #8c939d;
      font-style: normal;
      -webkit-font-smoothing: antialiased;
    }
    &:hover {
      border-color: #20a0ff;
      .gc_upload_icon {
        color: #20a0ff;
      }
    }
    & + input[type=file] {
      display: none;
    }
  }
}

#laydate_box,#laydate_box *{box-sizing: content-box;}

//必填项前加*
.necessary_front:before {
  content: '*';
  color: red;
  font-weight: bold;
  height: 16px;
  display: inline-block;
  width: 12px;
  text-align: center;
}

.bg-active {
  background: #fbf68b!important;
}

#apply_start_date, #apply_end_date, #djqValidityStartDate, #djqValidityEndDate, #receive_start_date, #receive_end_date {
  cursor: pointer;
}
//渲染表格
[data-gctable] {
  width: 100%;
  padding-right: 17px;
  border: 1px solid #ccc;
  background-color: #f5f5f5;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  margin: 10px 0;
  overflow-x: auto;
  overflow-y: hidden;
  > div {
    min-width: 1200px;
    > table {
      width: 100%;
      border-collapse: collapse;
      th, td {
        border: 1px solid #ccc;
        border-right: none;
        border-top: none;
        text-align: center;
        padding: 6px;
        word-break: break-all;
        font-size: 13px;
        &:first-child {
          border-left: none;
        }
      }
    }
    &.gcBody {
      max-height: 600px;
      overflow-x: hidden;
      overflow-y: scroll;
      width: calc(~"100% + 7px");
      min-width: calc(~"1200px + 7px");
      tr {
        &:hover {
          background: #f5f5f5;
        }
        td img {
          max-width: 50px;
          max-height: 35px;
          cursor: pointer;
        }
      }
    }
  }
  > p[class^="gcPage"] {
    line-height: 32px;
    text-align: center;
    font-size: 12px;
    margin: 0;
    td{
      font-size:13px;
    }
    span {
      margin: 0 1px;
      border: 1px solid #cacaca;
      padding: 1px 5px;
      display: inline-block;
      border-radius: 3px;
      color: #333;
      min-width: 26px;
      line-height: 22px;
      font-size: 12px;
      cursor: pointer;
      &.disabled, &.me {
        cursor: not-allowed;
      }
      &.me, &:hover {
        color: #23527c;
        background-color: #eee;
        border-color: #ddd;
      }
    }
    input {
      line-height: 22px;
      border: 1px solid #c3c2c2;
      border-radius: 3px;
      vertical-align: baseline;
      text-align: center;
      outline: 0;
      transition: border-color .2s cubic-bezier(.645, .045, .355, 1);
      &:focus {
        border-color: #20a0ff;
      }
    }
    select {
      width: 66px;
      cursor: pointer;
      margin: 4px 6px 0;
      height: 25px;
      padding: 0 6px;
      border: 1px solid #ccc;
      border-radius: 3px;
      box-sizing: content-box;
      outline: 0;
      option {
        padding: 2px 4px;
      }
      &:focus {
        border-color: #20a0ff;
      }
    }
  }
}